<template>
  <div class="li-label">
    <Icon class="li-label__icon" :name="icon" :color="iconColor"/>
    <span class="li-label__text">{{text}}</span>
  </div>
</template>

<script>
import Icon from '@/components/Icon'

export default {
  name: 'Label',
  components: {
    Icon
  },
  props: {
    icon: String,
    iconColor: String,
    text: String
  }
}
</script>

<style lang="scss">
  .li-label {
    display: flex;
    align-items: center;
    &__icon {
      margin-right: 8px;
    }
    &__text {
      font-size: 14px;
      font-weight: 400;
      color: #666;
      line-height: 30px;
    }
  }
</style>
